package com.gjh.service.system;


import com.github.pagehelper.PageInfo;
import com.gjh.domain.system.User;

import java.util.List;

public interface UserService {

    public List<User> findAll(String companyId);

    void save(User user);

    void update(User user);

    User findById(String id);

    void deleteById(String id);

    PageInfo findByPage(String companyId, Integer pageNum, Integer pageSize);

    List<String> findRoleIdsByUserId(String id);

    void changeRole(String userId, String[] roleIds);

    User findByEmail(String email);

    List<User> findAllUser();




//    PageBean<User> findByPage(PageBean pageBean);
}
